<!DOCTYPE html>
<html lang="en">
<!--html5-->

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>刘浩</title>
    <style>
        body {
            background-image: url("img/baidu.jpg");
        }
        
        div {
            width: 600px;
            background: #ccc;
            padding: 20px;
            border-radius: 10px;
        }
        
        a {
            text-decoration: none;
        }
        
        .button {
            background: white;
            height: 40px;
            padding: 5px;
        }
        
        .button:hover {
            border: 1px blue solid;
            color: blue;
        }
        
        .sub {
            width: 460px;
            height: 40px;
            border-radius: 10px;
        }
        
        .input-checkbox {
            width: 12px;
            height: 12px;
            vertical-align: middle;
        }
    </style>
</head>

<body>
    <div>
        <h1>欢迎注册</h1>
        <p>已有账号？&nbsp; <a href="#">登录</a></p>
        用户名：<input type="text" name="" id="" placeholder="请设置用户名"><br>
        <br> 手机号：
        <input type="text" name="" id="" placeholder="可用于登录和找回密码"><br>
        <br> 密&nbsp;&nbsp;&nbsp;码
        <input type="password" name="" id="" placeholder="请设置登录密码"><br>
        <br> 验证码
        <input type="text" name="" id="" placeholder="请输入验证码">
        <input type="button" name="" id="" value="获取验证码" class="button"><br>
        <br>
        <input type="submit" value="注册" class="sub"><br>
        <br>
        <input type="checkbox" class="input-checkbox"><span>阅读并接受</span><span><a href="3">《百度用户协议》</a></span>
    </div>
</body>

</html>